/*---------------------------------------------------------------------------------------------
 *  Copyright (c) kylinIDETeam. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
import { InstantiationType, registerSingleton } from 'vs/platform/instantiation/common/extensions';
import { IWorkbenchDeployService } from 'vs/workbench/services/issue/common/deploy';
import { IDeployMainService } from 'vs/platform/issue/common/deploy';

export class NativeDeployService implements IWorkbenchDeployService {
	declare readonly _serviceBrand: undefined;
	constructor(
		@IDeployMainService private readonly deployMainService: IDeployMainService,
	) { }


	openDeployWindow(firstflag?: boolean): Promise<void> {
		return this.deployMainService.openDeployWindow(firstflag);
	}
}

registerSingleton(IWorkbenchDeployService, NativeDeployService, InstantiationType.Delayed);
